3.111 \(\int \sin ^2(e+f x) (a+b \tan ^2(e+f x))^{3/2} \, dx\)

Optimal. Leaf size=165 \[ \frac {b \tan (e+f x) \sqrt {a+b \tan ^2(e+f x)}}{f}+\frac {(a-4 b) \sqrt {a-b} \tan ^{-1}\left (\frac {\sqrt {a-b} \tan (e+f x)}{\sqrt {a+b \tan ^2(e+f x)}}\right )}{2 f}+\frac {\sqrt {b} (3 a-4 b) \tanh ^{-1}\left (\frac {\sqrt {b} \tan (e+f x)}{\sqrt {a+b \tan ^2(e+f x)}}\right )}{2 f}-\frac {\sin (e+f x) \cos (e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2}}{2 f} \]

[Out]

1/2*(a-4*b)*arctan((a-b)^(1/2)*tan(f*x+e)/(a+b*tan(f*x+e)^2)^(1/2))*(a-b)^(1/2)/f+1/2*(3*a-4*b)*arctanh(b^(1/2
)*tan(f*x+e)/(a+b*tan(f*x+e)^2)^(1/2))*b^(1/2)/f+b*(a+b*tan(f*x+e)^2)^(1/2)*tan(f*x+e)/f-1/2*cos(f*x+e)*sin(f*
x+e)*(a+b*tan(f*x+e)^2)^(3/2)/f

________________________________________________________________________________________

Rubi [A]  time = 0.20, antiderivative size = 165, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.320, Rules used = {3663, 467, 528, 523, 217, 206, 377, 203} \[ \frac {b \tan (e+f x) \sqrt {a+b \tan ^2(e+f x)}}{f}+\frac {(a-4 b) \sqrt {a-b} \tan ^{-1}\left (\frac {\sqrt {a-b} \tan (e+f x)}{\sqrt {a+b \tan ^2(e+f x)}}\right )}{2 f}+\frac {\sqrt {b} (3 a-4 b) \tanh ^{-1}\left (\frac {\sqrt {b} \tan (e+f x)}{\sqrt {a+b \tan ^2(e+f x)}}\right )}{2 f}-\frac {\sin (e+f x) \cos (e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2}}{2 f} \]

Antiderivative was successfully verified.

[In]

Int[Sin[e + f*x]^2*(a + b*Tan[e + f*x]^2)^(3/2),x]

[Out]

((a - 4*b)*Sqrt[a - b]*ArcTan[(Sqrt[a - b]*Tan[e + f*x])/Sqrt[a + b*Tan[e + f*x]^2]])/(2*f) + ((3*a - 4*b)*Sqr
t[b]*ArcTanh[(Sqrt[b]*Tan[e + f*x])/Sqrt[a + b*Tan[e + f*x]^2]])/(2*f) + (b*Tan[e + f*x]*Sqrt[a + b*Tan[e + f*
x]^2])/f - (Cos[e + f*x]*Sin[e + f*x]*(a + b*Tan[e + f*x]^2)^(3/2))/(2*f)

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 377

Int[((a_) + (b_.)*(x_)^(n_))^(p_)/((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Subst[Int[1/(c - (b*c - a*d)*x^n), x]
, x, x/(a + b*x^n)^(1/n)] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && EqQ[n*p + 1, 0] && IntegerQ[n]

Rule 467

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Simp[(e^(n -
1)*(e*x)^(m - n + 1)*(a + b*x^n)^(p + 1)*(c + d*x^n)^q)/(b*n*(p + 1)), x] - Dist[e^n/(b*n*(p + 1)), Int[(e*x)^
(m - n)*(a + b*x^n)^(p + 1)*(c + d*x^n)^(q - 1)*Simp[c*(m - n + 1) + d*(m + n*(q - 1) + 1)*x^n, x], x], x] /;
FreeQ[{a, b, c, d, e}, x] && NeQ[b*c - a*d, 0] && IGtQ[n, 0] && LtQ[p, -1] && GtQ[q, 0] && GtQ[m - n + 1, 0] &
& IntBinomialQ[a, b, c, d, e, m, n, p, q, x]

Rule 523

Int[((e_) + (f_.)*(x_)^(n_))/(((a_) + (b_.)*(x_)^(n_))*Sqrt[(c_) + (d_.)*(x_)^(n_)]), x_Symbol] :> Dist[f/b, I
nt[1/Sqrt[c + d*x^n], x], x] + Dist[(b*e - a*f)/b, Int[1/((a + b*x^n)*Sqrt[c + d*x^n]), x], x] /; FreeQ[{a, b,
 c, d, e, f, n}, x]

Rule 528

Int[((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.)*((e_) + (f_.)*(x_)^(n_)), x_Symbol] :> Simp[
(f*x*(a + b*x^n)^(p + 1)*(c + d*x^n)^q)/(b*(n*(p + q + 1) + 1)), x] + Dist[1/(b*(n*(p + q + 1) + 1)), Int[(a +
 b*x^n)^p*(c + d*x^n)^(q - 1)*Simp[c*(b*e - a*f + b*e*n*(p + q + 1)) + (d*(b*e - a*f) + f*n*q*(b*c - a*d) + b*
d*e*n*(p + q + 1))*x^n, x], x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && GtQ[q, 0] && NeQ[n*(p + q + 1) + 1
, 0]

Rule 3663

Int[sin[(e_.) + (f_.)*(x_)]^(m_)*((a_) + (b_.)*((c_.)*tan[(e_.) + (f_.)*(x_)])^(n_))^(p_.), x_Symbol] :> With[
{ff = FreeFactors[Tan[e + f*x], x]}, Dist[(c*ff^(m + 1))/f, Subst[Int[(x^m*(a + b*(ff*x)^n)^p)/(c^2 + ff^2*x^2
)^(m/2 + 1), x], x, (c*Tan[e + f*x])/ff], x]] /; FreeQ[{a, b, c, e, f, n, p}, x] && IntegerQ[m/2]

Rubi steps

\begin {align*} \int \sin ^2(e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {x^2 \left (a+b x^2\right )^{3/2}}{\left (1+x^2\right )^2} \, dx,x,\tan (e+f x)\right )}{f}\\ &=-\frac {\cos (e+f x) \sin (e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2}}{2 f}+\frac {\operatorname {Subst}\left (\int \frac {\sqrt {a+b x^2} \left (a+4 b x^2\right )}{1+x^2} \, dx,x,\tan (e+f x)\right )}{2 f}\\ &=\frac {b \tan (e+f x) \sqrt {a+b \tan ^2(e+f x)}}{f}-\frac {\cos (e+f x) \sin (e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2}}{2 f}+\frac {\operatorname {Subst}\left (\int \frac {2 a (a-2 b)+2 (3 a-4 b) b x^2}{\left (1+x^2\right ) \sqrt {a+b x^2}} \, dx,x,\tan (e+f x)\right )}{4 f}\\ &=\frac {b \tan (e+f x) \sqrt {a+b \tan ^2(e+f x)}}{f}-\frac {\cos (e+f x) \sin (e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2}}{2 f}+\frac {((a-4 b) (a-b)) \operatorname {Subst}\left (\int \frac {1}{\left (1+x^2\right ) \sqrt {a+b x^2}} \, dx,x,\tan (e+f x)\right )}{2 f}+\frac {((3 a-4 b) b) \operatorname {Subst}\left (\int \frac {1}{\sqrt {a+b x^2}} \, dx,x,\tan (e+f x)\right )}{2 f}\\ &=\frac {b \tan (e+f x) \sqrt {a+b \tan ^2(e+f x)}}{f}-\frac {\cos (e+f x) \sin (e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2}}{2 f}+\frac {((a-4 b) (a-b)) \operatorname {Subst}\left (\int \frac {1}{1-(-a+b) x^2} \, dx,x,\frac {\tan (e+f x)}{\sqrt {a+b \tan ^2(e+f x)}}\right )}{2 f}+\frac {((3 a-4 b) b) \operatorname {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {\tan (e+f x)}{\sqrt {a+b \tan ^2(e+f x)}}\right )}{2 f}\\ &=\frac {(a-4 b) \sqrt {a-b} \tan ^{-1}\left (\frac {\sqrt {a-b} \tan (e+f x)}{\sqrt {a+b \tan ^2(e+f x)}}\right )}{2 f}+\frac {(3 a-4 b) \sqrt {b} \tanh ^{-1}\left (\frac {\sqrt {b} \tan (e+f x)}{\sqrt {a+b \tan ^2(e+f x)}}\right )}{2 f}+\frac {b \tan (e+f x) \sqrt {a+b \tan ^2(e+f x)}}{f}-\frac {\cos (e+f x) \sin (e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2}}{2 f}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 5.59, size = 324, normalized size = 1.96 \[ -\frac {\sin (2 (e+f x)) \tan (e+f x) \sec ^2(e+f x) \left (\csc (e+f x) \sec (e+f x) \left (3 a^2+4 (a-b)^2 \cos (2 (e+f x))+(a-b)^2 \cos (4 (e+f x))-6 a b-5 b^2\right )-4 \sqrt {2} a (a-2 b) \cot (e+f x) \sqrt {\frac {\csc ^2(e+f x) ((a-b) \cos (2 (e+f x))+a+b)}{b}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {\frac {(a+b+(a-b) \cos (2 (e+f x))) \csc ^2(e+f x)}{b}}}{\sqrt {2}}\right )\right |1\right )+4 \sqrt {2} a (a-4 b) \cot (e+f x) \sqrt {\frac {\csc ^2(e+f x) ((a-b) \cos (2 (e+f x))+a+b)}{b}} \Pi \left (-\frac {b}{a-b};\left .\sin ^{-1}\left (\frac {\sqrt {\frac {(a+b+(a-b) \cos (2 (e+f x))) \csc ^2(e+f x)}{b}}}{\sqrt {2}}\right )\right |1\right )\right )}{16 \sqrt {2} f \sqrt {\sec ^2(e+f x) ((a-b) \cos (2 (e+f x))+a+b)}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[e + f*x]^2*(a + b*Tan[e + f*x]^2)^(3/2),x]

[Out]

-1/16*(Sec[e + f*x]^2*(-4*Sqrt[2]*a*(a - 2*b)*Cot[e + f*x]*Sqrt[((a + b + (a - b)*Cos[2*(e + f*x)])*Csc[e + f*
x]^2)/b]*EllipticF[ArcSin[Sqrt[((a + b + (a - b)*Cos[2*(e + f*x)])*Csc[e + f*x]^2)/b]/Sqrt[2]], 1] + 4*Sqrt[2]
*a*(a - 4*b)*Cot[e + f*x]*Sqrt[((a + b + (a - b)*Cos[2*(e + f*x)])*Csc[e + f*x]^2)/b]*EllipticPi[-(b/(a - b)),
 ArcSin[Sqrt[((a + b + (a - b)*Cos[2*(e + f*x)])*Csc[e + f*x]^2)/b]/Sqrt[2]], 1] + (3*a^2 - 6*a*b - 5*b^2 + 4*
(a - b)^2*Cos[2*(e + f*x)] + (a - b)^2*Cos[4*(e + f*x)])*Csc[e + f*x]*Sec[e + f*x])*Sin[2*(e + f*x)]*Tan[e + f
*x])/(Sqrt[2]*f*Sqrt[(a + b + (a - b)*Cos[2*(e + f*x)])*Sec[e + f*x]^2])

________________________________________________________________________________________

fricas [B]  time = 8.00, size = 1931, normalized size = 11.70 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^2*(a+b*tan(f*x+e)^2)^(3/2),x, algorithm="fricas")

[Out]

[-1/16*((a - 4*b)*sqrt(-a + b)*cos(f*x + e)*log(128*(a^4 - 4*a^3*b + 6*a^2*b^2 - 4*a*b^3 + b^4)*cos(f*x + e)^8
 - 256*(a^4 - 5*a^3*b + 9*a^2*b^2 - 7*a*b^3 + 2*b^4)*cos(f*x + e)^6 + 32*(5*a^4 - 34*a^3*b + 77*a^2*b^2 - 72*a
*b^3 + 24*b^4)*cos(f*x + e)^4 + a^4 - 32*a^3*b + 160*a^2*b^2 - 256*a*b^3 + 128*b^4 - 32*(a^4 - 11*a^3*b + 34*a
^2*b^2 - 40*a*b^3 + 16*b^4)*cos(f*x + e)^2 + 8*(16*(a^3 - 3*a^2*b + 3*a*b^2 - b^3)*cos(f*x + e)^7 - 24*(a^3 -
4*a^2*b + 5*a*b^2 - 2*b^3)*cos(f*x + e)^5 + 2*(5*a^3 - 29*a^2*b + 48*a*b^2 - 24*b^3)*cos(f*x + e)^3 - (a^3 - 1
0*a^2*b + 24*a*b^2 - 16*b^3)*cos(f*x + e))*sqrt(-a + b)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2)*sin(
f*x + e)) + 2*(3*a - 4*b)*sqrt(b)*cos(f*x + e)*log(((a^2 - 8*a*b + 8*b^2)*cos(f*x + e)^4 + 8*(a*b - 2*b^2)*cos
(f*x + e)^2 - 4*((a - 2*b)*cos(f*x + e)^3 + 2*b*cos(f*x + e))*sqrt(b)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*
x + e)^2)*sin(f*x + e) + 8*b^2)/cos(f*x + e)^4) + 8*((a - b)*cos(f*x + e)^2 - b)*sqrt(((a - b)*cos(f*x + e)^2
+ b)/cos(f*x + e)^2)*sin(f*x + e))/(f*cos(f*x + e)), -1/16*(4*(3*a - 4*b)*sqrt(-b)*arctan(1/2*((a - 2*b)*cos(f
*x + e)^3 + 2*b*cos(f*x + e))*sqrt(-b)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2)/(((a*b - b^2)*cos(f*x
 + e)^2 + b^2)*sin(f*x + e)))*cos(f*x + e) + (a - 4*b)*sqrt(-a + b)*cos(f*x + e)*log(128*(a^4 - 4*a^3*b + 6*a^
2*b^2 - 4*a*b^3 + b^4)*cos(f*x + e)^8 - 256*(a^4 - 5*a^3*b + 9*a^2*b^2 - 7*a*b^3 + 2*b^4)*cos(f*x + e)^6 + 32*
(5*a^4 - 34*a^3*b + 77*a^2*b^2 - 72*a*b^3 + 24*b^4)*cos(f*x + e)^4 + a^4 - 32*a^3*b + 160*a^2*b^2 - 256*a*b^3
+ 128*b^4 - 32*(a^4 - 11*a^3*b + 34*a^2*b^2 - 40*a*b^3 + 16*b^4)*cos(f*x + e)^2 + 8*(16*(a^3 - 3*a^2*b + 3*a*b
^2 - b^3)*cos(f*x + e)^7 - 24*(a^3 - 4*a^2*b + 5*a*b^2 - 2*b^3)*cos(f*x + e)^5 + 2*(5*a^3 - 29*a^2*b + 48*a*b^
2 - 24*b^3)*cos(f*x + e)^3 - (a^3 - 10*a^2*b + 24*a*b^2 - 16*b^3)*cos(f*x + e))*sqrt(-a + b)*sqrt(((a - b)*cos
(f*x + e)^2 + b)/cos(f*x + e)^2)*sin(f*x + e)) + 8*((a - b)*cos(f*x + e)^2 - b)*sqrt(((a - b)*cos(f*x + e)^2 +
 b)/cos(f*x + e)^2)*sin(f*x + e))/(f*cos(f*x + e)), 1/8*(sqrt(a - b)*(a - 4*b)*arctan(-1/4*(8*(a^2 - 2*a*b + b
^2)*cos(f*x + e)^5 - 8*(a^2 - 3*a*b + 2*b^2)*cos(f*x + e)^3 + (a^2 - 8*a*b + 8*b^2)*cos(f*x + e))*sqrt(a - b)*
sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2)/((2*(a^3 - 3*a^2*b + 3*a*b^2 - b^3)*cos(f*x + e)^4 - a^2*b +
 3*a*b^2 - 2*b^3 - (a^3 - 6*a^2*b + 9*a*b^2 - 4*b^3)*cos(f*x + e)^2)*sin(f*x + e)))*cos(f*x + e) - (3*a - 4*b)
*sqrt(b)*cos(f*x + e)*log(((a^2 - 8*a*b + 8*b^2)*cos(f*x + e)^4 + 8*(a*b - 2*b^2)*cos(f*x + e)^2 - 4*((a - 2*b
)*cos(f*x + e)^3 + 2*b*cos(f*x + e))*sqrt(b)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2)*sin(f*x + e) +
8*b^2)/cos(f*x + e)^4) - 4*((a - b)*cos(f*x + e)^2 - b)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2)*sin(
f*x + e))/(f*cos(f*x + e)), 1/8*(sqrt(a - b)*(a - 4*b)*arctan(-1/4*(8*(a^2 - 2*a*b + b^2)*cos(f*x + e)^5 - 8*(
a^2 - 3*a*b + 2*b^2)*cos(f*x + e)^3 + (a^2 - 8*a*b + 8*b^2)*cos(f*x + e))*sqrt(a - b)*sqrt(((a - b)*cos(f*x +
e)^2 + b)/cos(f*x + e)^2)/((2*(a^3 - 3*a^2*b + 3*a*b^2 - b^3)*cos(f*x + e)^4 - a^2*b + 3*a*b^2 - 2*b^3 - (a^3
- 6*a^2*b + 9*a*b^2 - 4*b^3)*cos(f*x + e)^2)*sin(f*x + e)))*cos(f*x + e) - 2*(3*a - 4*b)*sqrt(-b)*arctan(1/2*(
(a - 2*b)*cos(f*x + e)^3 + 2*b*cos(f*x + e))*sqrt(-b)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2)/(((a*b
 - b^2)*cos(f*x + e)^2 + b^2)*sin(f*x + e)))*cos(f*x + e) - 4*((a - b)*cos(f*x + e)^2 - b)*sqrt(((a - b)*cos(f
*x + e)^2 + b)/cos(f*x + e)^2)*sin(f*x + e))/(f*cos(f*x + e))]

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \tan \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}} \sin \left (f x + e\right )^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^2*(a+b*tan(f*x+e)^2)^(3/2),x, algorithm="giac")

[Out]

integrate((b*tan(f*x + e)^2 + a)^(3/2)*sin(f*x + e)^2, x)

________________________________________________________________________________________

maple [C]  time = 0.77, size = 2261, normalized size = 13.70 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(f*x+e)^2*(a+b*tan(f*x+e)^2)^(3/2),x)

[Out]

-1/2/f*(cos(f*x+e)^2*sin(f*x+e)*2^(1/2)*((I*cos(f*x+e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)/a)^(1/2)*a*b+cos(f*x+e)^5*
((2*I*(a-b)^(1/2)*b^(1/2)+a-2*b)/a)^(1/2)*b^2-cos(f*x+e)^4*((2*I*(a-b)^(1/2)*b^(1/2)+a-2*b)/a)^(1/2)*a^2+2*cos
(f*x+e)^4*((2*I*(a-b)^(1/2)*b^(1/2)+a-2*b)/a)^(1/2)*a*b-cos(f*x+e)^4*((2*I*(a-b)^(1/2)*b^(1/2)+a-2*b)/a)^(1/2)
*b^2-cos(f*x+e)*((2*I*(a-b)^(1/2)*b^(1/2)+a-2*b)/a)^(1/2)*b^2+((2*I*(a-b)^(1/2)*b^(1/2)+a-2*b)/a)^(1/2)*b^2)*c
os(f*x+e)*sin(f*x+e)*((a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/cos(f*x+e)^2)^(3/2)/(-1+cos(f*x+e))/(a*cos(f*x+e)^2-co
s(f*x+e)^2*b+b)^2/((2*I*(a-b)^(1/2)*b^(1/2)+a-2*b)/a)^(1/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \tan \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}} \sin \left (f x + e\right )^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^2*(a+b*tan(f*x+e)^2)^(3/2),x, algorithm="maxima")

[Out]

integrate((b*tan(f*x + e)^2 + a)^(3/2)*sin(f*x + e)^2, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int {\sin \left (e+f\,x\right )}^2\,{\left (b\,{\mathrm {tan}\left (e+f\,x\right )}^2+a\right )}^{3/2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(e + f*x)^2*(a + b*tan(e + f*x)^2)^(3/2),x)

[Out]

int(sin(e + f*x)^2*(a + b*tan(e + f*x)^2)^(3/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \tan ^{2}{\left (e + f x \right )}\right )^{\frac {3}{2}} \sin ^{2}{\left (e + f x \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)**2*(a+b*tan(f*x+e)**2)**(3/2),x)

[Out]

Integral((a + b*tan(e + f*x)**2)**(3/2)*sin(e + f*x)**2, x)

________________________________________________________________________________________